package com.goldsprite.microhorigame.screens.examples.spinegfsmexamples.gfsm;

public class Entity {
	// 配置数据
	private float health = 100;
	private float speed = 5;
	private float damage = 10;

	// 实时数据
	private float position = 0;
	private float velocity = 0;
	private boolean isHurt = false;

	// Getter/Setter 方法
	public float getHealth() { return health; }
	public void setHealth(float health) { this.health = health; }

	public float getSpeed() { return speed; }
	public void setSpeed(float speed) { this.speed = speed; }

	public float getDamage() { return damage; }
	public void setDamage(float damage) { this.damage = damage; }

	public float getPosition() { return position; }
	public void setPosition(float position) { this.position = position; }

	public float getVelocity() { return velocity; }
	public void setVelocity(float velocity) { this.velocity = velocity; }

	public boolean isHurt() { return isHurt; }
	public void setHurt(boolean hurt) { isHurt = hurt; }
}
